import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from 'element-ui';
import Vant from "vant"
import { Swipe, SwipeItem } from 'vant';
import 'vant/lib/index.css';
import 'element-ui/lib/theme-chalk/index.css';
import axios from "axios";
import { Popup } from 'vant';
import { Form } from "vant";
import { Field } from "vant";
import { Collapse, CollapseItem } from 'vant';


// Vue.use(BScroll)
Vue.prototype.$ajax = axios
Vue.use(ElementUI);
Vue.config.productionTip = false;
Vue.use(Vant);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Popup);
Vue.use(Form);
Vue.use(Field);
Vue.use(Collapse);
Vue.use(CollapseItem);


new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
